| Einhugur Color Management Plugin for Objo |
|
Einhugur.ColorManagement.ICCColorProfile.CMYKColorToRGBColor Method
Converts a single CMYK color to a RGB color using color profiles.
shared CMYKColorToRGBColor(
cmykValue
as Einhugur.CMYKColour,
cmykProfile
as Einhugur.ColorManagement.ICCColorProfile,
rgbProfile
as Einhugur.ColorManagement.ICCColorProfile)
as Colour
Parameters
- cmykValue
- The CMYK value to convert to RGB.
- cmykProfile
- The cmyk color profile. (This has to be color profile with CMYK color space). If nothing or incorrect color space is supplied then crude conversion is done.
- rgbProfile
- The rgb color profile. (This has to be color profile with RGB color space). If nothing or incorrect color space is supplied then crude conversion is done.
Returns
- Colour
- The converted RGB color.
Remarks
You should not use this to convert colors in an image one by one.
If profiles are nothing or have incorrect color space then crude conversion is done instead of using the color profiles.
See Also
Einhugur.ColorManagement.ICCColorProfile Class